Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(analyzer): Improve PackageManager class documentation #9637

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

sschuberth
Copy link
Member

Specifically, clarify that the projectType does not refer to dependencies.

@sschuberth sschuberth requested a review from a team as a code owner December 18, 2024 08:30
@sschuberth sschuberth enabled auto-merge (rebase) December 18, 2024 08:30
@fviernau fviernau disabled auto-merge December 18, 2024 08:40
fviernau
fviernau previously approved these changes Dec 18, 2024
* [projectType]. The analysis of any projects and their dependencies starts in the [analysisRoot] directory using the
* given general [analyzerConfig]. Per-repository configuration is passed in [repoConfig].
* A class to represent a package manager with the given [managerName] that handles projects of the given [projectType].
* The analysis of any projects and their dependencies starts in the [analysisRoot] directory using the given general
Copy link
Member

@fviernau fviernau Dec 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also consider these out of scope, but it may make sense to address it while at it:

  • Removing "general" from "given general" as it seems to not provide any info.
  • "Per-repository" configuration is misleading, for mono repos where you can have multiple repository
    configurations in the repository. proposa, say:
    "The analysis of any projects and their dependencies starts in the [analysisRoot] directory using the given
    analyzerConfig and repoConfig."

edit: If one want to emphasize the difference, maybe saying "the project-agnostic analyzerConfig and the project-specific repoConfig" would be a better fit.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe "general" was there exactly to make the difference between AnalyzerConfiguration and RepositoryConfiguration.RepositoryAnalyzerConfiguration more clear.

I'll try to think of a better wording.

Copy link

codecov bot commented Dec 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.05%. Comparing base (60b6c4c) to head (3a25a2c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #9637   +/-   ##
=========================================
  Coverage     68.05%   68.05%           
  Complexity     1285     1285           
=========================================
  Files           249      249           
  Lines          8835     8835           
  Branches        921      921           
=========================================
  Hits           6013     6013           
  Misses         2433     2433           
  Partials        389      389           
Flag Coverage Δ
funTest-docker 65.14% <ø> (ø)
funTest-non-docker 33.31% <ø> (ø)
test-ubuntu-24.04 35.84% <ø> (ø)
test-windows-2022 35.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sschuberth sschuberth requested review from fviernau and a team December 18, 2024 09:04
Specifically, clarify that the `projectType` does not refer to
dependencies.

Signed-off-by: Sebastian Schuberth <[email protected]>
@fviernau fviernau merged commit 83a9a58 into main Dec 18, 2024
26 checks passed
@fviernau fviernau deleted the ref/heads/pm-type-docs branch December 18, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants